package com.hjm.project.finance.record.mapper;

import java.util.List;
import com.hjm.project.finance.record.domain.AgentDeductionsRecord;

/**
 * 账户变更记录Mapper接口
 *
 * @author maker-platform
 * @date 2022-10-28
 */
public interface AgentDeductionsRecordMapper
{
    /**
     * 查询账户变更记录
     *
     * @param id 账户变更记录ID
     * @return 账户变更记录
     */
    public AgentDeductionsRecord selectAgentDeductionsRecordById(Integer id);

    /**
     * 查询账户变更记录列表
     *
     * @param agentDeductionsRecord 账户变更记录
     * @return 账户变更记录集合
     */
    public List<AgentDeductionsRecord> selectAgentDeductionsRecordList(AgentDeductionsRecord agentDeductionsRecord);

    /**
     * 查询账户变更记录列表
     *
     * @param agentDeductionsRecord 账户变更记录
     * @return 账户变更记录查询一个结果
     */
    public AgentDeductionsRecord selectAgentDeductionsRecordOne(AgentDeductionsRecord agentDeductionsRecord);

    /**
     * 新增账户变更记录
     *
     * @param agentDeductionsRecord 账户变更记录
     * @return 结果
     */
    public int insertAgentDeductionsRecord(AgentDeductionsRecord agentDeductionsRecord);

    /**
     * 修改账户变更记录
     *
     * @param agentDeductionsRecord 账户变更记录
     * @return 结果
     */
    public int updateAgentDeductionsRecord(AgentDeductionsRecord agentDeductionsRecord);

    /**
     * 删除账户变更记录
     *
     * @param id 账户变更记录ID
     * @return 结果
     */
    public int deleteAgentDeductionsRecordById(Integer id);

    /**
     * 批量删除账户变更记录
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAgentDeductionsRecordByIds(String[] ids);
    }
